\usepackage{minted}

%{{{ Fix minted red box around some characters

\usepackage{xpatch}
\makeatletter
\AtBeginEnvironment{minted}{\dontdofcolorbox}
\def\dontdofcolorbox{\renewcommand\fcolorbox[4][]{##4}}
\xpatchcmd{\inputminted}{\minted@fvset}{\minted@fvset\dontdofcolorbox}{}{}
\xpatchcmd{\mintinline}{\minted@fvset}{\minted@fvset\dontdofcolorbox}{}{}
\makeatother

%}}}

\usemintedstyle{bw}

%% Переносить строки
\setminted{breaklines=true}

%%% Local Variables:
%%% mode: latex
%%% coding: utf-8-unix
%%% End:
